﻿@using Mulala.Cavan.Domain.MainBoundedContext.DictionaryModule
@model Mulala.Cavan.Presentation.Mvc.ViewModel.INannySearchTagsViewModel
@{
    string URLWithNannyExperience = string.Empty;
}
@foreach (Tag t in @Model.NannyExperience)
{
    if (t.Text != "不限")
    {
        URLWithNannyExperience = @Model.URLWithNoNannyExperience + "e" + t.Value;
    }
    if (t.Text == "不限")
    { 
    <a href="@Model.URLWithNoNannyExperience">@t.Text</a>
    }
    else
    { 
    <a href="@URLWithNannyExperience">@t.Text</a> 
    }
}